/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package com.martinkrasa.hockeymanager.site.entity;

import java.util.ArrayList;
import java.util.Set;
import java.util.SortedSet;

/**
 *
 * @author martin.krasa
 */
public class Match {
    
    private Team homeTeam;
    private Team awayTeam;
    private ArrayList<MatchEvent> eventList;

    public Match(Team homeTeam, Team awayTeam) {
        this.homeTeam = homeTeam;
        this.awayTeam = awayTeam;
        this.eventList = new ArrayList<>();
    }
    
    public Team getHomeTeam() {
        return homeTeam;
    }

    public void setHomeTeam(Team homeTeam) {
        this.homeTeam = homeTeam;
    }

    public Team getAwayTeam() {
        return awayTeam;
    }

    public void setAwayTeam(Team awayTeam) {
        this.awayTeam = awayTeam;
    }

    public ArrayList<MatchEvent> getEventList() {
        return eventList;
    }

    public void setEventList(ArrayList<MatchEvent> eventList) {
        this.eventList = eventList;
    }
    
}
